package org.bigjava.user.service;

import org.bigjava.bean.Topic;

import java.util.List;

public interface AjaxService {

    public boolean updateAttention(String userId,long topicId);//修改用户关注状态
    public boolean updateCollect(String userId,long postId);//修改用户收藏状态
    public boolean updatePostPrivacy(long postId);//修改帖子是否在用户页显示
    //首页热门话题分页
    public List<Topic> indexhottopicpage(int startPage);
}
